package com.example.provider.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.api.service.HelloService;

/**
 * 服务提供类
 */
@Service(version = "${hello.service.version}")
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        return "Hello, " + name + " (from Spring Boot)";
    }
}
